@font-face {
  font-family: "neo";
  src: url("/Neometric-Medium.otf") format("truetype");
}

@font-face {
  font-family: "decoder";
  src: url("/Decoder Regular.otf") format("truetype");
}

@-webkit-keyframes cursor {
  0% {cursor: url('keroppi cursors/keroppi cursor frame 1.png'), auto;}
  14.3% {cursor: url('keroppi cursors/keroppi cursor frame 2.png'), auto;}
  28.6% {cursor: url('keroppi cursors/keroppi cursor frame 3.png'), auto;}
  42.9% {cursor: url('keroppi cursors/keroppi cursor frame 4.png'), auto;}
  57.2% {cursor: url('keroppi cursors/keroppi cursor frame 5.png'), auto;}
  71.5% {cursor: url('keroppi cursors/keroppi cursor frame 6.png'), auto;}
  85.8% {cursor: url('keroppi cursors/keroppi cursor frame 7.png'), auto;}
  100% {cursor: url('keroppi cursors/keroppi cursor frame 8.png'), auto;}
} 

@keyframes cursor {
  0% {cursor: url('keroppi cursors/keroppi cursor frame 1.png'), auto;}
  14.3% {cursor: url('keroppi cursors/keroppi cursor frame 2.png'), auto;}
  28.6% {cursor: url('keroppi cursors/keroppi cursor frame 3.png'), auto;}
  42.9% {cursor: url('keroppi cursors/keroppi cursor frame 4.png'), auto;}
  57.2% {cursor: url('keroppi cursors/keroppi cursor frame 5.png'), auto;}
  71.5% {cursor: url('keroppi cursors/keroppi cursor frame 6.png'), auto;}
  85.8% {cursor: url('keroppi cursors/keroppi cursor frame 7.png'), auto;}
  100% {cursor: url('keroppi cursors/keroppi cursor frame 8.png'), auto;}
}

/* these are the main colors and header image
   replace them with anything you want! */
:root {
    --header-bg: url('keroppi header image5.png');
    --accent-color: #009933;
    --link-color: #ff66b3;
    --button-color: #8cc71f;
    --bg-color: #e6ffe6;
    --bg-color2: #caec8a;
    --text-color: #372558;
    --favorite-color: #CAEC8A;
    --pure-black-color: #000000;
    --pure-white-color: #ffffff;
    /* width */
::-webkit-scrollbar {
  width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #e6ffe6;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #48a570;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* you can get hex codes from sites like this:
   https://palettes.shecodes.io/
   i just looked up "css color templates" to find that link! */

/* this applies to all the content */

* {
    color: var(--text-color);
/* change the font here, it's set up to all use the same one */
    font-family: neo;
    font-weight: normal;
}
/* this is for when you select text on the page */
::selection {
    background: var(--accent-color);
    color: var(--bg-color);
}

body {



cursor: url('keroppi cursor edit.png'), auto;
  -webkit-animation: cursor 1400ms infinite;
  animation: cursor 1400ms infinite;
}




background-color: #caec8a;
opacity: 1;
background-image:  linear-gradient(#ffffff 2.6000000000000001px, transparent 2.6000000000000001px), linear-gradient(to right, #ffffff 2.6000000000000001px, #caec8a 2.6000000000000001px);
background-size: 44px 44px;

/* i think having better line spacing helps text to be more readable, but you can remove it if you want */
p {line-height: 1.5em;}


a{
  cursor: url("/keroppi cursor edit2.png"), default;
}


header {
/* you can add the image url in :root (at the top) if you want */
    border: 3px solid var(--pure-black-color);
    background: var(--header-bg);
    background-size: 100%;
    background-position: center;
/* change the minimum height if you want it to take up more/less space */
    max-width: 900px;
    min-height: 384px;
    margin: 0 auto;
    padding: 0 1em;
/* i have a default border-radius set, but i didn't want rounded corners on this element */
    border-radius: 2em;
    box-shadow: var(--button-color) 8px 8px 20px;
}

/* this is your site title displayed at the top of the page */
header h1 {
 
    padding: 1.3em;
    border-radius: .3em;
    max-width: 900px;
    font-family: decoder;
    font-size: 5em;
/* you can change the text-align to center or right if you want it placed differently */
    text-align: center;
    color: var(--pure-white-color);

    text-shadow: var(--pure-black-color) 4px 4px .001em;
}

nav {
    /*padding: 1em;*/
    margin-top: 1em;
    font-weight: bold;
}

nav > ul {
    max-width: 1010px;
    margin: auto;
    line-height: 3rem;
/* this stuff makes it wrap around on mobile */
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
/* this line takes away the dot in front of the list items */
    list-style-type: none;
/* list items have default padding but we don't need it for these */
    padding-left: 0;
/* and this spaces out the buttons so they're not touching */
    justify-content: space-evenly;
}
nav li {
    text-align: center;
}
nav li > a {
    color: var(--bg-color);
    background-color: var(--button-color);
    padding: .6em 1.6em;
    box-shadow: var(--bg-color2) 0 0 6px;
    font-family: decoder;
    font-weight: normal;
    font-size: 1.3em;
    text-shadow: var(--pure-black-color) 1px 1px .001em;
/* this takes away the link underline */
    text-decoration: none;
    border: 3px solid var(--pure-black-color);
    
}
nav li > a:visited {
    color: var(none);
}
nav li > a:hover {
    background-color: var(--favorite-color);
    box-shadow: var(--bg-color) 0 0 6px;
    color: var(--text-color);
}

a {
    color: var(--link-color);
    border-radius: .5em;
    text-shadow: var(--bg-color) 0px 0px 0px;
    font-weight: bold;
    transition: color 400ms ease-out, background-color 400ms ease-out, box-shadow 400ms ease-out;
}
a:visited {
    color: var(none);
}
a:hover {
    color: var(--link-color);
}

/* you can change this to anything you want :) */
ul { list-style-type: "❤︎ "; }

#sidebar {
    
    background-image: url("magicpattern-noise-1752183667770.png");
    
    background-color: var(--bg-color);
    max-width: 240px;
    height: 680px;
    margin: 1.1em;
    padding: 1em;
    border: 3px solid var(--pure-black-color);
    box-shadow: var(--button-color) 8px 8px 20px;
    border-radius: 2.2em;
    text-align: center;
    font-size: 1.1em;
    
}

#avatar {
    margin: .5em auto;
/* image size is 160px so i made its container a little bigger to fit the borders */
    max-width: 164px;
    max-height: 164px;
    border-radius: 8em;
}
#avatar img {
    background: var(--bg-color2);
    border: 4px solid var(--button-color);
    max-width: 160px;
    border-radius: 8em;
}

#bio {
    margin: 2em 1em;
    background: var(--bg-color2);
    border: 3px solid var(--button-color);
    border-radius: 1em;
    
}
#bio p { margin: 1em; }


#content {
    display: flex;
    max-width: 976px;
    margin: auto;
}


h1 {
  font-size: 32px;
}

h2 {
  font-size: 26px;
}


main {



    background-image: url("magicpattern-noise-1752183667770.png");
    
    background-color: var(--bg-color);
    padding: 1em 2em;
    margin: 1em;
    border: 3px solid var(--pure-black-color);
    box-shadow: var(--button-color) 8px 8px 20px;
    border-radius: 2em;
    font-size: 1.2em;
}

main > h1,
main > h2,
main > h3 {
    background-color: var(--favorite-color);
    border-radius: .4em;
    padding: .2em .5em;
    border: 3px solid var(--button-color);
}

/* a class for centering text and images */
.center { text-align: center; }
/* made this a class so i can change it to be centered on mobile */
.img-right { float: right; }

footer {
    text-align: center;
    font-size: small;
    margin: 1em auto;
    max-width: 960px;
}

/* these are the mobile styles! */
@media only screen and (max-width: 800px) {
    #content {
        flex-wrap: wrap;
    }
    #sidebar {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    header {
        min-height: 160px;
        margin: 0 1em;
    }
    header > h1 { 
        font-size: 3em;
        margin: .4em;
    }
    #avatar {margin: 0 1em;}
    #bio {width: 50%;}
    main {margin: 0 1em;}
    #sidebar ul {   
        margin: 0 1em;
        display: flex;
        flex-wrap: wrap;
        line-height: 2em;
    }
    #sidebar li {
        padding-left: 0;
        margin: .3em 1em;
    }
    .img-right {
        float: none;
        text-align: center;
    }
    footer {
        margin: 1em;
    }
}